package com.yungu.swift.order.model.param;

import com.yungu.swift.base.model.admin.AdminPageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author : cuixiuyin
 * @date : 2019/7/15
 */
@Data
@ApiModel(value = "专车、快车、出租车分页参数")
public class AdminOrderPageParam extends AdminPageParam {

    @ApiModelProperty(value = "代理 uuid")
    private String agentUuid;

    @ApiModelProperty(value = "公司 uuid")
    private String companyUuid;

    @ApiModelProperty(value = "下单开始时间")
    private Date startTime;

    @ApiModelProperty(value = "下单结束时间")
    private Date endTime;

    @ApiModelProperty(value = "订单主状态 1：新建订单 2：订单进行中 3：订单结束（待支付）4：支付完成 5.订单取消", example = "0")
    private Integer mainStatus;

    @ApiModelProperty(value = "订单子状态", example = "0")
    private Integer subStatus;

    @ApiModelProperty(value = "订单模块类型（1：出租车，2：专车，3：拼车，4：快车）", example = "0")
    private Integer typeModule;

    @ApiModelProperty(value = "订单行程类型（1：用车，2：日租，3：半日租，4：送机，5：接机）", example = "0")
    private Integer typeTrip;

    @ApiModelProperty(value = "订单时效类型（1：实时，2：预约）", example = "0")
    private Integer typeTime;

    @ApiModelProperty(value = "订单异常备注（1：乘客修改目的地 2：司机绕路 3：乘客要求变更路线 4：乘客中途下车 5：车辆故障 6：交通事故）", example = "0")
    private Integer typeAbnormal;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "模糊查询条件（姓名或手机号码）")
    private String mix;

    @ApiModelProperty(value = "起点地址")
    private String originAddr;

    @ApiModelProperty(value = "终点地址")
    private String destAddr;
}
